# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=swaykbdd
pkgver=1.3
pkgrel=0
pkgdesc="Keyboard layout switcher for Sway"
url="https://github.com/artemsen/swaykbdd"
arch="all"
license="MIT"
makedepends="json-c-dev meson"
options="!check"  # no test suite
subpackages="$pkgname-doc"
source="https://github.com/artemsen/swaykbdd/archive/v$pkgver/swaykbdd-$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
3830137d4538d92edec266a42071e4d30d7a973f78e3984fc645dfae877c509f688ad6273cfa13571ee59f36ebe1b497e8da310935d58cd677c308ddf07b7a87  swaykbdd-1.3.tar.gz
"
